package cn.app.dao.app_version;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.app.entity.AppVersion;

public interface AppVersionDao {

	/**
	 * 根据app的id查询全部的版本信息...
	 * @param id
	 * @param publishStatus 
	 * @return
	 */
	List<AppVersion> findAllByAppId(@Param("id")Integer id, @Param("publishStatus")String publishStatus);

	/**
	 * 添加app版本信息,
	 * @param appVersion
	 * @return
	 */
	Integer saveAppVersion(AppVersion appVersion);

}
